using UnityEngine;
using QFramework;

namespace ProjectSurviver
{
	public partial class HitBox : GamePlayObject
	{
		public GameObject Owner;

        void Awake()
        {
            mCollider2D = GetComponent<Collider2D>();
        }

        void Start()
		{
			if(!Owner)
			{
				Owner = transform.parent.gameObject;
			}
		}
		
		private Collider2D mCollider2D;

		public override Collider2D Collider2D => mCollider2D;
	}
}
